.pragma library

var time_debut;
var time_actuel;
var directoryName = new Array

function func() {
    
}
function viewArray(){
    var size = directoryName.length
    console.debug("------------------------ Array Size = " + size + " ----------------------------------")
    for(var i=0; i<size;i++){
        console.debug("Array["+i+"] = " + directoryName[i])
    }
    console.debug("-------------------------------------------------------------------------------")

}

function addArray(value){
    var size = directoryName.length
    directoryName[size] = value;
    viewArray();


}
function getArray(){
    var size = directoryName.length - 1
    var last = directoryName[size];
    return directoryName[size]
}
function delArray(){
    directoryName.pop();
    viewArray()
}
function checkArrayNb(){
    var size = directoryName.length
    if(size == 1)
        return false
    else
        return true
}
